package top.btcmarket.auth.service;

import java.util.List;

import top.btcmarket.auth.entity.User;


public interface UserService {

    User findByUsername(String name);
    
    User findByUsernameAndPassword(String name,String password);
    
    User findById(int id);

    List<User> findAll();

}
